import request from '@neu/biz-core/utils/request'

export const detail = (id) => {
  return request({
    url: '/cmdb/bizrelas/' + id,
    method: 'get'
  })
}

export const page = () => {
  return request({
    url: '/cmdb/bizrelas/page',
    method: 'get'
  })
}

export const update = (id, data) => {
  return request({
    url: '/cmdb/bizrelas/' + id,
    data: data,
    method: 'put'
  })
}

export const remove = (id) => {
  return request({
    url: '/cmdb/bizrelas/' + id,
    method: 'delete'
  })
}
